/*
 * @Author: fangquan
 * @Date: 2020-6-19 10:00:00
 * @Last Modified by: fangquan
 * @Last Modified time: 2020-6-19 10:00:00
 * @Usage 需要重定向到首页的路由集合
 */

let list = ["index", "index.html", "home", "home.html"];

let routes = [];

list.map(item => {
	routes.push({
		path: `/${item}`,
		redirect: {
			name: "index"
		}
	}, )
})

export default routes;